//
//  HMLuckyWheelViewController.m
//  网易彩票01
//
//  Created by Macx on 16/2/21.
//  Copyright © 2016年 Macx. All rights reserved.
//

#import "HMLuckyWheelViewController.h"
#import "HMThreeBtn.h"
@interface HMLuckyWheelViewController ()

@end

@implementation HMLuckyWheelViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    //创建三个按钮
    HMThreeBtn *threeBtn=[[HMThreeBtn alloc]init];
    //获得屏幕宽度
    CGFloat screenW = [UIScreen mainScreen].bounds.size.width;
    threeBtn.center = CGPointMake(screenW * 0.5, 100);
    NSLog(@"%@",NSStringFromCGSize(self.view.frame.size));
    [self.view addSubview:threeBtn];
}
- (IBAction)dismiss {
    
    [self dismissViewControllerAnimated:YES completion:nil];
}

@end
